<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of ProductController
 *
 * @author Than
 */
namespace Admin\Controller;

use Zend\Mvc\Controller\AbstractActionController;
use Zend\View\Model\ViewModel;
use Admin\Entity\Product;
use Admin\Form\ProductForm;

class ProductController extends AbstractActionController{
    
    public function createsteponeAction() {
    	
    	$form = new ProductForm();
    	
        $request = $this->getRequest();
        if($request->isPost())
        {
        	echo "<pre>";var_dump($request->getPost()); die;
            //return $this->redirect()->toRoute(null, array('controller' => 'product', 'action' => 'createsteptwo'));
        }
        return new ViewModel(array('form' => $form));
    }
    
    public function createsteptwoAction() {
        return new ViewModel();
    }
    
    public function createstepthreeAction() {
        return new ViewModel();
    }
}
